import React, { useEffect } from 'react';
import AgentServer from '../../../public/widget'








const Widget = () => {

    useEffect(() => {
        AgentServer.Agent.createView('agent-widget-root');


        console.log(AgentServer.Agent);
    }, [])

    return (
        <div id='agent-widget-root' style={{ position: 'relative', width: '1024px' }}>
            <AgentServer.Widget></AgentServer.Widget>
        </div>
    )
}

export default Widget